define (require,exports,module)->
	VSurvey = require 'js/view/survey'
	MSurvey = require 'js/model/survey'
	v = new VSurvey
	m = new MSurvey
	SurveyEditControll = Backbone.View.extend
		initialize:()->
			console.log 'hello'
			Backbone.on 'event_read_survey_success',(data)->
				v.renderSurvey data
				
			m.read_survey v.getSurveyId()